You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLVector Class > TOpenCLVector Methods > TOpenCLVector.Difference Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLVector.Difference Method

The difference between two succesive vector elements.

Syntax
C#
Visual Basic
public TOpenCLVector Difference([In] TOpenCLMtxVec Vec, int Lag);

Store the results in the calling vector. The TOpenCLBase.LengthLength of the calling vector is set to one less the length of Vec and TOpenCLBase.ComplexComplex property is set to Vec.Complex. The following formula is used to calculate the difference: 

 

 

The Length of calling vector is automatically decremented by one.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!